

public class Animal {
    private String color;
    public int age=10;
    public String getColor(){
        return color;
    }
    public void setColor(String color){
        this.color=color;
    }
    public void setAge(int age){
        this.age=age;
    }
    public int getAge(){
        return age;
    }
}
